.helios-old-menu {
  position: relative;
  height: 100vh;
  min-width: 1024px;
  z-index: 0;
  .ant-layout-sider {
    transition: all 0.3s ease;
  }
  .menu-header-container {
    //background: #171e38;
  }
  .company-name {
    height: 50px;
    color: white;
    padding: 18px;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 14px;
    &:hover {
      cursor: pointer;
    }
    img {
      vertical-align: bottom;
    }
    .name {
      &:hover {
        opacity: 0.8;
      }
    }
  }
  .helios-sider {
    z-index: 5;
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    overflow: hidden;
    .trial-info {
      height: 24px;
      line-height: 24px;
      font-size: 12px;
      color: white;
      background: #ff6680;
      text-align: center;
      width: 100%;
      .trail-img-icon {
        width: 13px;
        height: 13px;
        margin-right: 4px;
      }
    }
    .menu-container {
      user-select: none;
      display: inline-block;
      box-sizing: border-box;
      //padding-right: 18px;
      overflow-x: hidden;
      position: relative;
      .menu-search {
        padding: 10px;
        position: absolute;
        top: 0;
        left: 0;
        .menu-search-collapsed {
          width: 44px;
          cursor: pointer;
          background: #242e48;
          border-radius: 4px;
          height: 28px;
          text-align: center;
          line-height: 28px;
          &:hover {
            box-shadow: 0 0 0 2px rgba(43, 120, 255, 0.3);
          }
        }
        input {
          background: #242e48;
          border-color: #242e48;
          font-size: 12px;
          border-radius: 4px;
          color: white;
          height: 28px;
        }
      }
      .result-menu-item {
        width: 100%;
        padding: 0 16px;
        margin-top: 20px;
        cursor: pointer;
        .result-menu-self {
          font-size: 14px;
          color: #d9e1ff;
          letter-spacing: 0;
          line-height: 14px;
          opacity: 0.8;
          &:hover {
            color: white;
            opacity: 1;
          }
        }
        .result-menu-parent {
          font-size: 12px;
          color: #b1becb;
          letter-spacing: 0;
          line-height: 14px;
          margin-top: 6px;
        }
      }
      .no-result-menu {
        opacity: 0.8;
        font-size: 12px;
        color: #bcc8d4;
        letter-spacing: 0;
        text-align: center;
        margin-top: 80px;
      }
      ul.ant-menu.ant-menu-root {
        list-style-type: none;
        padding-right: 18px;
        display: inline-block;
        box-sizing: content-box;
      }
      ul.ant-menu,
      ul.ant-menu-submenu {
        li.ant-menu-item a,
        div {
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
          font-size: 14px;
          font-weight: normal;
          .first-menu {
            display: inline-block;
            width: 160px;
            font-size: 14px;
            letter-spacing: 0;
            line-height: 12px;
          }
          .en {
            font-size: 12px;
            .anticon {
              margin-right: 4px;
              font-size: 14px;
            }
          }
        }
      }
      .search-result-menu {
        position: absolute;
        top: 50px;
        overflow-y: auto;
        overflow-x: hidden;
        height: calc(100% - 50px);
        ul.ant-menu-dark
        > li.ant-menu-submenu-open
        .ant-menu-sub
        .ant-menu-item {
          padding-left: 24px !important;
        }
        .ant-menu-inline {
          .ant-menu-submenu > .ant-menu-submenu-title {
            padding-right: 34px !important;
          }

          .ant-menu-item {
            padding-right: 34px !important;

            .single-f-menu {
            }
            .searched-icon {
              position: absolute;
              font-size: 14px;
              right: 16px;
              top: 50%;
              margin-top: -7px;
              margin-right: 0px;
            }
            .hove-menu-item {
              margin: 0 -33px 0 -23px;
              background: #242e48;
              padding-left: 23px;
              border-left: 2px solid #4b8dff;
            }
          }
        }
      }
      .ant-menu-dark
      .ant-menu-sub
      .ant-menu-submenu-title
      .ant-menu-submenu-arrow {
        color: $font-not-first-menu;
        &::before,
        &::after {
          background-color: $font-not-first-menu;
        }
      }
      .all-menu-list {
        position: absolute;
        top: 50px;
        overflow-y: auto;
        overflow-x: hidden;
        height: calc(100% - 50px);
        .ant-menu-dark .ant-menu-inline-collapsed > .ant-menu-item,
        .ant-menu-inline-collapsed
        > .ant-menu-item-group
        > .ant-menu-item-group-list
        > .ant-menu-item,
        .ant-menu-inline-collapsed
        > .ant-menu-submenu
        > .ant-menu-submenu-title {
          padding: 0 0 0 16px !important;
        }
        .ant-menu-vertical .ant-menu-submenu,
        .ant-menu-vertical-left .ant-menu-submenu,
        .ant-menu-vertical-right .ant-menu-submenu,
        .ant-menu-inline .ant-menu-submenu {
          background: #171e38;
        }
        .ant-menu-dark > li.ant-menu-submenu > ul.ant-menu-sub > li {
          background: #171e38;
        }
        .ant-menu-dark .ant-menu-item .anticon,
        .ant-menu-submenu-title .anticon {
          margin-right: 6px;
        }
        ul.ant-menu-inline-collapsed > li.ant-menu-submenu-active .anticon {
          color: $default-color;
        }
        ul.ant-menu-inline-collapsed
        > li.ant-menu-submenu
        > div.ant-menu-submenu-title {
          padding-left: 24px !important;
        }
        .ant-menu-dark > li.ant-menu-submenu > div.ant-menu-submenu-title {
          padding-left: 16px !important;
          .first-menu {
            .common-edit-icon {
              position: absolute;
              font-size: 14px;
              right: 30px;
              top: 50%;
              margin-top: -7px;
            }
          }
        }
        .ant-menu-dark .ant-menu-submenu .ant-menu-sub .ant-menu-item {
          padding-left: 40px !important;
          padding-right: 35px !important;
          .single-f-menu {
          }
          .star-icon {
            position: absolute;
            font-size: 14px;
            right: 10px;
            top: 50%;
            margin-top: -7px;
          }
          .hove-menu-item {
            margin: 0 -33px 0 -23px;
            background: #242e48;
            padding-left: 23px;
            border-left: 2px solid #4b8dff;
          }
        }
        .ant-menu-dark
        .ant-menu-submenu
        .ant-menu-sub
        .ant-menu-submenu
        .ant-menu-submenu-title {
          padding-left: 39px !important;
          padding-right: 30px !important;
        }
        .ant-menu-dark
        .ant-menu-submenu
        .ant-menu-sub
        .ant-menu-submenu
        .ant-menu-sub
        .ant-menu-item {
          padding-left: 41px !important;
        }
        .ant-menu-dark .ant-menu-submenu-open {
          color: $font-not-first-menu;
        }
        .collapsed-menu.ant-menu-dark .ant-menu-sub {
          background-color: $background-white;
          color: $font-not-first-menu;
        }
        .collapsed-menu.ant-menu-dark .ant-menu-item,
        .collapsed-menu.ant-menu-dark .ant-menu-item-group-title,
        .collapsed-menu.ant-menu-dark .ant-menu-item > a {
          color: $font-not-first-menu;
        }
        .ant-menu-dark
        > li.ant-menu-submenu
        > ul.ant-menu-sub
        > li.ant-menu-item-selected {
          background: $default-color;
          background: -webkit-linear-gradient(
              90deg,
              $menu-selected,
              $menu-selected-gradient
          );
          background: -o-linear-gradient(
              90deg,
              $menu-selected,
              $menu-selected-gradient
          );
          background: -moz-linear-gradient(
              90deg,
              $menu-selected,
              $menu-selected-gradient
          );
          background: linear-gradient(
              90deg,
              $menu-selected,
              $menu-selected-gradient
          );
        }
      }
    }
    .ant-menu-submenu-popup {
      left: 64px !important;
      color: red;
    }
    .ant-layout-sider-trigger {
      height: 36px;
    }
    .menu-footer-container {
      z-index: 3;
      position: fixed;
      bottom: 0;
      background: #171e38;
      box-shadow: inset 0 1px 0 0 rgba(140, 150, 180, 0.3);
      transition: all 0.2s ease;
    }
    .menu-footer-fold {
      display: flex;
      justify-content: space-around;
      align-items: center;
      height: 50px;
      transition: all 0.2s ease;
    }
    .menu-footer-unfold {
      padding: 0 20px;
      text-align: center;
      color: #b5c0ce;
      transition: all 0.2s ease;
      .vertical-icon-area {
        cursor: pointer;
        height: 50px;
        padding: 15px 0;
        &:hover {
          color: white;
        }
      }
    }
  }
  .content-layout {
    position: relative;
    //z-index: 1;
    overflow-y: hidden;
    max-height: 100vh;
    transition: all 0.3s ease;
  }
  .helios-header {
    display: flex;
    position: relative;
    top: 0;
    right: 0;
    z-index: 4;
    padding: 0 50px 0 20px !important;
    height: 50px;
    line-height: 50px;
    background: #fff;
    //box-shadow: 0 4px 8px 0 rgba(0,0,0,0.10);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: width 0.3s ease;
    .user-area {
      background: white;
      position: absolute;
      right: 16px;
      top: -1px;
      height: inherit;
      color: $font-default;
      .service-button {
        margin-right: 10px;
      }
      .operating-instruction {
        display: inline-block;
        padding: 0 12px;
        cursor: pointer;
      }
      .doc-button {
        display: inline-block;
        cursor: pointer;
        padding-left: 12px;
        i {
          font-size: 14px;
        }
        &:hover {
          background: $highlight-selected;
        }
      }
      .admin-button {
        display: inline-block;
        padding: 0 12px;
        cursor: pointer;
        position: relative;
        .arrow {
          font-size: 12px;
          margin-left: 2px;
          transition: all 0.5s;
        }
        .admin-button-list {
          position: absolute;
          left: 0;
          top: 64px;
          width: 140px;
          padding: 0;
          background-color: $background-white;
          box-shadow: $shadow-card;
          border-radius: 4px;
          z-index: 999;
          transition: all 0.5s;
          display: none;
          li {
            list-style: none;
            line-height: 36px;
            padding: 0 16px;
            &:hover {
              background-color: $highlight-default;
            }
          }
          a {
            color: $font-subtitle;
          }
        }
        &:hover {
          background: $highlight-selected;
          .admin-button-list {
            display: block;
          }
          .arrow {
            transform: rotate(180deg);
            -ms-transform: rotate(180deg);
            -moz-transform: rotate(180deg);
            -webkit-transform: rotate(180deg);
            -o-transform: rotate(180deg);
          }
        }
      }
      .title {
        margin-left: 6px;
        padding-right: 12px;
      }

      #user-guide-icon-id {
        transition: all ease 0.2s;
        display: inline-block;
        height: 24px;
        //background: #F7F8FA;
        border-radius: 12px;
        font-size: 12px;
        color: #4e5b71;
        text-align: left;
        line-height: 16px;
        padding: 4px 12px;
        position: relative;
        top: 2px;
        &:hover {
          .icon {
            color: #1f70fc;
          }
          cursor: pointer;
          color: #1f70fc;
          &.pointer {
            cursor: pointer;
          }
        }
        .tip-text {
          position: relative;
          top: -2px;
        }

        .new-tip-img {
          transition: all ease 0.2s;
          width: 32px;
          height: 18px;
          position: absolute;
          top: -13px;
          right: 0;
          opacity: 0;

          &.show {
            opacity: 1;
          }
        }
      }

      .icon-area {
        display: inline-block;
      }

      .icon {
        position: relative;
        top: 2px;
        color: #4e5b71;

        &:hover {
          color: #1f70fc;
        }
      }
    }
    .breadcrumb {
      min-width: 350px;
      font-size: 14px;
      display: inline-block;
      height: inherit;
      line-height: 50px;
      color: $font-subtitle;
      i {
        font-size: 12px;
        color: #bbbbbb;
        transform: scale(0.8);
        -ms-transform: scale(0.8);
        -moz-transform: scale(0.8);
        -webkit-transform: scale(0.8);
        -o-transform: scale(0.8);
      }
      .last-breadcrumb {
        color: $font-default;
        .ant-breadcrumb-separator {
          display: none;
        }
      }
    }
  }
  .helios-content {
    position: absolute;
    right: 0;
    top: 50px;
    padding: 16px 20px 0;
    background: #fff;
    height: calc(100vh - 50px);
    overflow: auto;
    transition: all 0.3s ease;
    &::after {
      content: "";
      clear: both;
    }
  }
}
.ant-table-fixed-header .ant-table-scroll .ant-table-header {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.ant-new-welcome-modal {
  .ant-modal-close .ant-modal-close-x {
    font-weight: 100;
    color: #6c788c;
  }

  .ant-modal-content {
    overflow: hidden;
  }

  .ant-modal-body {
    overflow: hidden;
    padding: 48px 40px 40px 40px;
    .new-welcome-modal {
      position: relative;
      .content {
        position: relative;
        z-index: 1;
        .main-title {
          //padding-top: 48px;
          font-weight: 500;
          font-size: 24px;
          color: #1e2126;
          line-height: 32px;

          &.need-bottom {
            padding-bottom: 22px;
          }
        }
        .text {
          margin: 8px 0 18px 0;
          font-size: 14px;
          color: #4e5b71;
          line-height: 20px;
        }
        .step-2 {
          .start-btn {
            margin: 22px 20px 0 0;
            display: inline;
          }
          .nope-lets-start {
            cursor: pointer;
            display: inline-block;
            font-size: 14px;
            color: #4e5b71;
            line-height: 20px;
          }
        }
      }
      .background-image {
        user-select: none;
        z-index: 0;
        position: absolute;
        display: block;
        width: 600px;
        bottom: -40px;
        right: -40px;
      }
    }
  }
  &.en {
    .ant-modal-body {
      .new-welcome-modal {
        .background-image {
          width: 690px;
        }
        .content .step-2 .guide-wrapper .en .twin-box {
          width: 404px;
          .child-box {
            width: 192px;
          }
        }
        .content .step-2 .guide-wrapper .en .recommend-box {
          width: 192px;
        }
        .content .step-2 .guide-wrapper .en .single-box {
          width: 192px;
        }
      }
    }
  }
}

.unbox-popover,
.en-unbox-popover {
  padding-top: 5px;
  margin-left: 240px;
  max-width: 560px;
  word-break: break-all;
  position: relative;
  z-index: 1000;

  &.en-unbox-popover {
    max-width: 650px;
    .en-unbox-popover-content {
      .en-unbox-popover-inner-content {
        .popover-unbox-setting {
          .background-img-box {
            .background-image {
              width: 650px;
            }
          }
          .content .en .single-box {
            width: 192px;
          }
        }
      }
    }
  }
  .unbox-popover-content,
  .en-unbox-popover-content {
    .unbox-popover-inner-content,
    .en-unbox-popover-inner-content {
      background-color: #fff;
      border-radius: 4px;
      padding: 12px 16px;
      color: #4e5b71;
      overflow: auto;
      box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.15);
      .popover-unbox-setting {
        padding: 8px 4px;
        position: relative;
        overflow: visible;

        .tips-title {
          font-size: 16px;
          color: #1e2126;
          line-height: 24px;
          margin-bottom: 12px;
        }
        .background-img-box {
          top: -12px;
          right: -16px;
          position: absolute;
          width: calc(100% + 32px);
          height: calc(100% + 24px);
          overflow: hidden;
          border-radius: 4px;
          .background-image {
            user-select: none;
            display: block;
            width: 560px;
          }
        }
        .content {
          position: relative;
          z-index: 1;
        }
      }
    }
  }
}

.unbox-popover-hidden,
.en-unbox-popover-hidden {
  display: none;
}

.ant-menu-submenu-popup {
  .ant-menu-submenu-vertical {
    .ant-menu-submenu {
      padding-left: 4px !important;
      left: 160px !important;
    }
  }
}
